import http from "../uitls/http.js";

// 搜索
export const searchAPI = (query) => {
  return http({
    url: `/search/${query}`,
    method:'get'
  })
}

// 推荐
export const getRecommendAPI = (type) => {
  return http({
    url: `/recommend/${type}`,
    method:'get'
  })
}